cmake_minimum_required(VERSION 3.10)

project(common)

add_library(common STATIC
        src/glad.c
        src/util.cpp)

target_include_directories( common
    PUBLIC
        include/public
        interface
        ${SDL2_INCLUDE_DIRS}
        ${ASSIMP_INCLUDE_DIRS}
)
target_link_libraries( common
    PUBLIC
        ${ADDITIONAL_LIBS}
        ${SDL2_LIBRARIES}
        ${OPENGL_LIBRARIES}
        ${ASSIMP_LIBRARIES}
)